<extend name="Public/base"/>

<block name="body">
    <!-- 根据方法名称确定载入哪个模版 -->
    <if condition="ACTION_NAME eq 'edit'">
        <include file="Public/edit" />
        <else />
        <include file="Public/create" />
    </if>
</block>